package com.farm.core;

import com.farm.web.spring.BeanFactory;

/**
 * 框架入口类
 * 
 * @author wangdong
 * @version 2.0-2014年12月
 * 
 */
public class FarmService {

	public static FarmService getInstance() {
		return new FarmService();
	}

	public AuthorityService getAuthorityService() {
		return (AuthorityService) BeanFactory.getBean("AuthAdapterId");
	}

	public ParameterService getParameterService() {
		return (ParameterService) BeanFactory.getBean("ParasAdapterId");
	}

	public LogService getLogService() {
		return (LogService) BeanFactory.getBean("LogAdapterId");
	}

	private FarmService() {
	}

}
